package com.infocollect.project.api.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.infocollect.project.api.entity.TappApiConfigBackEntity;

/**
 * 接口备份操作类
 */
public interface ITappApiConfigBackService extends IService<TappApiConfigBackEntity> {

    /**
     * 备份接口
     */
    void backApiConfig(TappApiConfigBackEntity entity);

    /**
     * 获取指定版本的接口方法
     * @param callMethodCode
     * @param versions
     * @return
     */
    TappApiConfigBackEntity getApiConfigVersion(String callMethodCode,Integer versions);

    /**
     * 删除数据
     * @param id
     */
    void delTappApiConfigBack(Long id);
}
